package com.ruoyi.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜品对象 food_meals
 *
 * @author xianpei
 * @date 2024-06-13
 */
public class FoodMeals extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 食物id */
    private Long mealsId;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String mealsName;

    /** 菜品图片 */
    @Excel(name = "菜品图片")
    private String mealsImg;

    /** 状态码（1为有，0为被删除） */
    @Excel(name = "状态码", readConverterExp = "1=为有，0为被删除")
    private Long status;

    /** 修改时间 */
    private Date modifyTime;

    public void setMealsId(Long mealsId)
    {
        this.mealsId = mealsId;
    }

    public Long getMealsId()
    {
        return mealsId;
    }
    public void setMealsName(String mealsName)
    {
        this.mealsName = mealsName;
    }

    public String getMealsName()
    {
        return mealsName;
    }
    public void setMealsImg(String mealsImg)
    {
        this.mealsImg = mealsImg;
    }

    public String getMealsImg()
    {
        return mealsImg;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setModifyTime(Date modifyTime)
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime()
    {
        return modifyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("mealsId", getMealsId())
                .append("mealsName", getMealsName())
                .append("mealsImg", getMealsImg())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("modifyTime", getModifyTime())
                .toString();
    }
}
